FarPoint.Win Assembly > FarPoint.Win Namespace > FpHyperlink Class > IsPointInLink Method : IsPointInLink(Graphics,Int32,Int32,Rectangle,String,Font,HorizontalAlignment,VerticalAlignment,LinkArea[],Picture,Boolean) Method |
'Declaration Public Overloads Shared Function IsPointInLink( _ ByVal g As Graphics, _ ByVal x As Integer, _ ByVal y As Integer, _ ByVal r As Rectangle, _ ByVal text As String, _ ByVal f As Font, _ ByVal horizontalAlignment As HorizontalAlignment, _ ByVal verticalAlignment As VerticalAlignment, _ ByVal areas() As LinkArea, _ ByVal pict As Picture, _ ByVal rightToLeft As Boolean _ ) As Integer
'Usage Dim g As Graphics Dim x As Integer Dim y As Integer Dim r As Rectangle Dim text As String Dim f As Font Dim horizontalAlignment As HorizontalAlignment Dim verticalAlignment As VerticalAlignment Dim areas() As LinkArea Dim pict As Picture Dim rightToLeft As Boolean Dim value As Integer value = FpHyperlink.IsPointInLink(g, x, y, r, text, f, horizontalAlignment, verticalAlignment, areas, pict, rightToLeft)
public static int IsPointInLink( Graphics g, int x, int y, Rectangle r, string text, Font f, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, LinkArea[] areas, Picture pict, bool rightToLeft )
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10